<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <link type="image/x-icon" rel="shortcut icon" href="./img/viptail_title_icon.png" media="screen">
    <title>寄养家庭的主页-查看地图</title>
    <!--[if lt IE 8]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="css/sharing_new.min.css">
</head>
<body>
    <div id="allmap"></div>

    <script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="js/tool.min.js"></script>
    <script type='text/javascript' src='http://api.map.baidu.com/api?v=2.0&ak=ubhCuHfv03c6Y8EEVVU7x3sxO5ImcMGv'></script>
    <script>
        var name = getLocalStorage('name');
        var address = getLocalStorage('address');
        delLocalStorage('name');delLocalStorage('address');
        document.title = '寄养家庭'+name+'的主页-'+address;
        var jd = getUrlParam('jd');
        var wd = getUrlParam('wd');
        //加载地图
        var map = new BMap.Map("allmap");
        var point = new BMap.Point(jd,wd);
        map.centerAndZoom(point,16);

        var mk = new BMap.Marker(point);
        map.addOverlay(mk);
    </script>
</body>
</html>